package com.example.administrator.familfinalcialmanagement;

import android.os.Environment;

/**
 * Created by Administrator on 2019/3/26.
 */

public class Constants {

    public static final String BASE_URL = "http://192.168.1.108/public/index.php/";
    public static final String URL_REGISTER = BASE_URL + "api/User/reguser";//注册
    public static final String URL_LOGIN = BASE_URL + "api/User/loginp";//登录
    public static final String URL_REGISTER_CODE = BASE_URL + "api/User/sendregcode";//注册获取验证码
    public static final String URL_UPDATA_PWD = BASE_URL + "api/User/updatepwd";//更改密码
    public static final String URL_FORGET_CDOE = BASE_URL + "api/User/sendlogincode";//修改密码获取验证码
    public static final String URL_ADD_LAND = BASE_URL + "api/Land/addLand";//农民增加土地
    public static final String URL_GET_LAND = BASE_URL + "api/Land/userLand";//获取农民所有土地
    public static final String URL_SEND_PINDAN = BASE_URL + "api/Porder/addPorder";//农民发布拼单
    public static final String URL_CREATE_ORDER = BASE_URL + "api/Order/createOrder";//发布拼单后去付款之创建订单
    public static final String URL_JOIN_PRODER = BASE_URL + "api/Porder/joinPorder";//加入拼单
    public static final String URL_UPDATA_HEAD_IMG = BASE_URL + "api/User/uploadLogo";//上传头像
    public static final String URL_UPDATA_SEX = BASE_URL + "api/User/changeSex";//更新性别
    public static final String URL_UPDATA_NICK_NAME = BASE_URL + "api/User/changeNickname";//更新昵称
    public static final String URL_REASION_INFO_ALL = BASE_URL + "api/Person/userInfo";//获取个人相关的所有信息
    public static final String ULR_BANNER = BASE_URL + "api/Person/showBanner";//banner获取
    public static final String URL_NEAR_PINDAN = BASE_URL + "api/Porder/aroundOrder";//获取附近拼单
    public static final String ULR_UPDATA_SUGGEST = BASE_URL + "api/person/addSuggest";//反馈建议
    public static final String URL_UPDATA_GROUPID = BASE_URL + "api/order/uploadGroupId";//上传群组ID
    public static final String URL_GET_MY_ORDER = BASE_URL + "api/person/myOrder";//获取我的订单
    public static final String URL_GET_HEAD_IMG = BASE_URL + "api/Person/getHeadimg";//根据昵称获取头像
    public static final String URL_GET_DURG_LIST = BASE_URL + "api/Porder/getPesticideList";//获取药品列表
    public static final String URL_DELETE_LAND = BASE_URL + "api/Land/delLand";//删除土地
    public static final String URL_GET_EAR = BASE_URL + "api/person/myEarnings";//我的收益
    public static final String URL_ADD_CODE = BASE_URL + "api/person/addCode";//分享时获取邀请码
    public static final String ULR_UPDATA_VERSION = BASE_URL + "api/person/updateVersion";//获取版本号
    public static final String URL_GET_PINDAN_DESC = BASE_URL + "api/person/getPorderInfo";//根据UserId和拼单ID获取拼单详情

    public final static String INTENTN_ID = "INTENTN_ID";
    public static final int LOGINPRESSION = 0x11;
    public static final int REQUEST_CODE_LOCATION = 0x12;
    public static final int REQUEST_CODE_PRINCIPAL = 0x13;
    public static final int REQUEST_CODE_COPYREASION = 0x14;
    public static final int REQUEST_CODE_USER_SEARCH = 0x15;
    public static final int REQEEST_CDOE_GPS = 0x18;
}

